package io.renren.core.dao;

import io.renren.common.dao.BaseDao;
import io.renren.core.entity.LearnHomeBannerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 首页banner
 *
 * @author Ark 6980gong@gmail.com
 * @since 1.0.0 2024-04-27
 */
@Mapper
public interface LearnHomeBannerDao extends BaseDao<LearnHomeBannerEntity> {

    @Select("select * from learn_home_banner order by banner_date desc")
    List<LearnHomeBannerEntity> listAll();
	
}